import { createStore } from 'vuex'

export default createStore({
	state: {
		loginUserNum: 0
	},
	mutations: {
		addUserNum (state) {
			state.loginUserNum++;
		}
	},
	actions: {
		addUserNum ({ commit }) {
			commit('addUserNum');
		}
	},
	modules: {}
});